OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 38
Dependencies 4
Dependents 0
Total lines 279
Lines of code 193
Logical lines of code 103
Comment lines 5
Methods 17
Properties 14

Methods 17

Method Rating Maintainability Complexity Lines of code
calculateShippingOnCheckout()
A
53 9 20
initSettings()
S
43 5 47
register()
S
49 5 28
defineShippingMethodClass()
S
53 3 26
getDefaultServiceName()
S
66 3 9
onIsEnabled()
S
71 2 6
__construct()
S
57 1 15
onPluginActionLinks()
S
71 1 5
getPluginSettings()
S
82 1 3
updateFormFields()
S
80 1 3
getBaseShippingMethodClassName()
S
82 1 3
registerFeatures()
S
72 1 5
onAdminMenu()
S
78 1 3
addShippingMethod()
S
73 1 5
initAdapter()
S
71 1 5
loadSettings()
S
68 1 7
getShippingMethodClassName()
S
79 1 3